<?php echo $this->WmpLayoutHeader();?>
<body class="soria">
<?php 
	//URGENT:trouver un moyen de parametrer et dynamiser ça
?>	
	
<!--
<div id="page">
<?php echo $this->partial("layout_header.phtml"); ?>

<h2><?php echo $this->title;?></h2>	

<div id="content"><?php echo $this->layout()->content; ?></div>	
	
<?php echo $this->partial("layout_footer.phtml"); ?>
</div>
-->
<?php
/*
$this->borderContainer()->captureStart('masterLayout2',
                                       array('design' => 'headline'),
                                       array('style'=>'width: 400px; height: 200px;'));

echo $this->contentPane(
    'menuPane2',
    'This is the menu pane',
    array('region' => 'top'),
    array('style' => 'background-color: blue;')
);

echo  $this->contentPane(
    'navPane2',
    'This is the navigation pane',
    array('region' => 'left'),
    array('style' => 'width: 200px; background-color: lightblue;')
);

echo $this->contentPane(
    'mainPane2',
    'This is the main content pane area',
    array('region' => 'center'),
    array('style' => 'background-color: white;')
);

echo $this->contentPane(
    'statusPane2',
    'Status area',
    array('region' => 'bottom'),
    array('style' => 'background-color: lightgray;')
);

echo $this->borderContainer()->captureEnd('masterLayout2');
*/
//--------------------------------
$viewRenderer =  Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$view = $viewRenderer->view;
$view->accordionContainer()->captureStart('myaccordion',
        array('duration' => 200),
        array('style' => 'width: 600px; height: 280px;'));


                                       
$view->accordionPane()->captureStart('accordion1',
                array('title' => 'First Accordion'));
echo 'This is my first accordion content pane';
echo $view->accordionPane()->captureEnd('accordion1');


$view->accordionPane()->captureStart('accordion2',
                array('title' => 'Second Accordion'));
echo 'This is my second accordion content pane';
echo $view->accordionPane()->captureEnd('accordion2');


$view->accordionPane()->captureStart('accordion3',
                array('title' => 'Third Accordion'));
echo 'This is my third accordion content pane';
echo $view->accordionPane()->captureEnd('accordion3');

echo $view->AccordionContainer()->captureEnd('myaccordion');

?>    

</body>
</html><?php echo $this->WmpLayoutHeader();?>
<body class="soria">
<?php 
	//URGENT:trouver un moyen de parametrer et dynamiser ça
?>	
	

<div id="page">
<?php echo $this->partial("layout_header.phtml"); ?>

<h2><?php echo $this->title;?></h2>	

<div id="content"><?php echo $this->layout()->content; ?></div>	
	
<?php echo $this->partial("layout_footer.phtml"); ?>
</div>
    

</body>
</html>

